uint8 sensor
uint8 mode
uint8 direction
int16 n
bool block